package com.softeem.sss.dto;

import java.sql.Timestamp;

/**
 * 资源信息类
 * @author mrchai
 *
 */
public class FileInfo {

	private int fid;
	private String fname;
	private String summary;
	private long size;
	private String tags;
	private Timestamp uploadTime;
	private String md5;
	private String path;
	private int dcount;
	private int saleIntergral;
	private int uid;
	private int isDel;
	//用于标记当前文件下载时间，临时用
	private Timestamp downloadTime;
	
	public FileInfo() {
		
	}
	
	public FileInfo(int fid, String fname, String summary, long size, String tags, Timestamp uploadTime, String md5,
			String path, int dcount, int saleIntergral, int uid, int isDel) {
		super();
		this.fid = fid;
		this.fname = fname;
		this.summary = summary;
		this.size = size;
		this.tags = tags;
		this.uploadTime = uploadTime;
		this.md5 = md5;
		this.path = path;
		this.dcount = dcount;
		this.saleIntergral = saleIntergral;
		this.uid = uid;
		this.isDel = isDel;
	}

	public int getFid() {
		return fid;
	}
	public void setFid(int fid) {
		this.fid = fid;
	}
	public String getFname() {
		return fname;
	}
	public void setFname(String fname) {
		this.fname = fname;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public long getSize() {
		return size;
	}
	public void setSize(long size) {
		this.size = size;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public Timestamp getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Timestamp uploadTime) {
		this.uploadTime = uploadTime;
	}
	public String getMd5() {
		return md5;
	}
	public void setMd5(String md5) {
		this.md5 = md5;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public int getDcount() {
		return dcount;
	}
	public void setDcount(int dcount) {
		this.dcount = dcount;
	}
	public int getSaleIntergral() {
		return saleIntergral;
	}
	public void setSaleIntergral(int saleIntergral) {
		this.saleIntergral = saleIntergral;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getIsDel() {
		return isDel;
	}
	public void setIsDel(int isDel) {
		this.isDel = isDel;
	}

	public Timestamp getDownloadTime() {
		return downloadTime;
	}

	public void setDownloadTime(Timestamp downloadTime) {
		this.downloadTime = downloadTime;
	}
	
	
}
